﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.Permission
{
    /// <summary>
    /// 角色
    /// </summary>
    public class RoleEntity
    {
        private int _roleid;
        private int _groupid;
        private string _name;
        private int _sort = 0;
        private string _description;
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleID
        {
            set { _roleid = value; }
            get { return _roleid; }
        }
        /// <summary>
        /// 分组ID(关联Group表中的GroupID)
        /// </summary>
        public int GroupID
        {
            set { _groupid = value; }
            get { return _groupid; }
        }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        /// <summary>
        /// 说明
        /// </summary>
        public string Description
        {
            set { _description = value; }
            get { return _description; }
        }
    }
}
